<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        .d1 {
            width: 400px;
            height: 300px;
            margin: 100px auto;
        }

        .d1 h1 {
            width: 49px;
            height: 49px;
            background: #ff4c00 url('./images/mi-logo.png');
            margin: 0 auto;
        }

        .d1 h2 {
            text-align: center;
            margin-top: 30px;
            margin-bottom: 20px;
            font-size: 30px;
            font-weight: 500;
        }

        input {
            width: 320px;
            height: 50px;
            margin: 10px 42px;
            border: solid 1px rgb(221, 221, 221);
            padding-left: 15px;
            outline: none;
        }

        input:focus {
            border: 1px solid gray;
        }

        button {
            border: none;
            background-color: orangered;
            width: 310px;
            height: 50px;
            margin: 11px 43px;
            color: white;
        }

        button:hover {
            background-color: rgb(202, 54, 0);
        }

        button:active {
            background-color: rgb(133, 35, 0);
        }
    </style>
</head>

<body>
    <div class="d1">
        <h1></h1>
        <h3>小米账号登录</h3>
        <input type="text" placeholder="邮箱/手机/小米ID" />
        <input type="password" placeholder="密码" />
        <button> 登录 </button>
    </div>
</body>

</html>